package com.example.demo2.service;

import com.example.demo2.entity.User;
import com.example.demo2.entity.UserPassowrdEdit;


/**
 * TODO
 *
 * @author HR
 * @date 2021/10/13 18:30
 */
public interface UserService {

    int save(User user) throws Exception;

    User getById(Integer id) throws Exception;

    User getById2(Integer id);

    User update(UserPassowrdEdit userPassowrdEdit);
}
